<ui:composition template="/WEB-INF/templates/templatePrincipal.xhtml"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core">

<ui:define name="corpo-da-pagina">

<h:form>
	<h:panelGrid columns="2">
		<h:outputLabel value="Login:" />
		<h:inputText value="#{loginMB.login}" />
		<h:outputLabel value="Senha:" />
		<h:inputSecret value="#{loginMB.senha}" />
	 </h:panelGrid>
	 <br />
	<h:commandButton value="Logar" action="#{loginMB.autenticar}" />
</h:form>

</ui:define>

</ui:composition>